package net.wangds.auth.department.service;

import net.wangds.auth.department.comp.GeneralDepartmentComp;
import net.wangds.auth.department.entity.GeneralDepartmentEntity;
import net.wangds.jpa.service.AbstractJpaService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class DepartmentService extends AbstractJpaService<GeneralDepartmentEntity, GeneralDepartmentComp> {

    @Autowired
    GeneralDepartmentComp mmCmpDept;

    @Override
    protected GeneralDepartmentComp fetchJpaComp() {
        return mmCmpDept;
    }

}
